<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="s" uri="/struts-tags" %>
    
	<s:iterator value="prodList">
		<div style="position:relative; top:0px; left:0; float:left;margin-left:30px;margin-top:20px;" >
		   <ul style="list-style-type:none">
	        <li><a href="qprodDetail.action?productid=<s:property value="productid"/>">
	        <img width="210px" height="210px" alt="<s:property value="productname"/>" src="photo/product/<s:property value="photo"/>">
	        	</a>
	        </li>
	        <li style="color:#999"><s:property value="productname"/></li>
	        <li><span style="color:#C06"><strong><s:property value="nowprice"/>&nbsp;
		        </strong></span><span style="text-decoration:line-through; color:#999">
		        <s:property value="price"/></span>
		    </li>
	       	<li>库存：<span style="color:#C06"><s:property value="productNum"/></span></li>
	       	<li>
	       	<form action="toaddToBuyCar.action?productid=<s:property value="productid"/>" method="post" >
	       		<input type="submit" value="加入购物车"  onclick="return confirmDel('确定要加入购物车吗')">
	       	</form>
	       	<form action="addToBuyCar.action?productid=<s:property value="productid"/>" method="post" >
	       		<input type="submit" value="直接购买">   		
	       	</form>
	       	</li>
	       </ul>
		</div>	
</s:iterator>
